<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <link href="https://vjs.zencdn.net/7.11.4/video-js.css" rel="stylesheet" />
</head>

<body>
    <video id="my_video" class="video-js vjs-default-skin" controls preload="auto" width="640" height="360">
        <source src="http://8.140.249.87/hls/stream.m3u8" type="application/x-mpegURL">
    </video>
    <script src="https://vjs.zencdn.net/7.11.4/video.min.js"></script>
    <script>
        var player = videojs('my_video');
    </script>
</body>

</html>